package com.haixiaoke.saas.user.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * C端用户对象 biz_user_consumer
 *
 * @author panda
 * @date 2024-04-11
 */
@Data
public class UserConsumer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户名
     */
    @Excel(name = "用户名")
    private String userName;

    /**
     * 用户昵称
     */
    @Excel(name = "用户昵称")
    private String nickName;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码")
    private String userMobile;

    /**
     * 性别：1男
     */
    @Excel(name = "性别：1男")
    private String sex;

    /**
     * 密码
     */
    @Excel(name = "密码")
    private String password;

    /**
     * 盐值
     */
    @Excel(name = "盐值")
    private String salt;

    /**
     * 微信OPENID
     */
    @Excel(name = "微信OPENID")
    private String openId;

    /**
     * 头像
     */
    @Excel(name = "头像")
    private String profilePhoto;

    /**
     * 身份证号码
     */
    @Excel(name = "身份证号码")
    private String cardNumber;

    /**
     * 身份证正面
     */
    @Excel(name = "身份证正面")
    private String frontCardNumberPic;

    /**
     * 身份证背面
     */
    @Excel(name = "身份证背面")
    private String backCardNumberPic;

    /**
     * 人脸照
     */
    @Excel(name = "人脸照")
    private String facePic;

    /**
     * 实名认证：0未认证
     */
    @Excel(name = "实名认证：0未认证")
    private String certificationStatus;

    /**
     * 身份证内容
     */
    @Excel(name = "身份证内容")
    private String idCardContent;

    /**
     * 实名认证时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实名认证时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date certificationTime;

    /**
     * 业主标识:0.否;1.是
     */
    @Excel(name = "业主标识:0.否;1.是")
    private String proprietorFlag;

    /**
     * 租客标识:0.否;1.是
     */
    @Excel(name = "租客标识:0.否;1.是")
    private String lesseeFlag;

    /**
     * 删除标志（0代表存在
     */
    private String delFlag;
}
